package com.example.gulimall.auth.feign;

import com.example.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 *      手机号发送远程调用
 * </p>
 *
 * @author zyred
 * @since v 0.1
 **/
@FeignClient("gulimall-thrid-party")
public interface SmsFeignService {

    @GetMapping("/sms/send")
    R sendSms (@RequestParam("phone") String phone, @RequestParam("code") String code);

}
